package com.hd.pzhwlxt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hd.pzhwlxt.pojo.VehicleInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
@create: 2022-09-21 9:02
@author: 怀念天空
@Description: 
*/

public interface VehicleInfoMapper extends BaseMapper<VehicleInfo> {
    VehicleInfo getVehicleInfoById(@Param("id") Integer id);
    List<VehicleInfo> getVehicleInfo();

    Page<VehicleInfo> getVehicleAndDriverPage(@Param("page") Page<VehicleInfo> page);

    VehicleInfo getByVehicleId(@Param("vehicleId") String vehicleId);
}